﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AFSharedLibrary;
using UIDesigner.DesignContainers;
using System.Diagnostics;
using UIDesigner.SurfaceProperties;
using UIDesigner.DesignContainers.Bases;

namespace UIDesigner.Designers.Forms
{
    public partial class frmSurfaceDesigner : Form
    {
        private ObjectControlContainer m_ctrlContainer;
        private SurfacePropertiesBase m_objSurfaceProperties;
        private SurfaceType m_eSurfaceType;
        private AFDesignerHost m_objHost;

        private Dictionary<IBaseObjectControl, SurfacePropertiesBase> SurfacePropertiesSet
        {
            get 
            {
                return m_objHost.SurfacePropertiesSet; 
            }
        }

        public AFDesignerHost DesignerHost
        {
            set
            {
                m_objHost = value;
            }
        }

        public frmSurfaceDesigner()
        {
            InitializeComponent();
        }

        private void frmSurfaceDesigner_Load(object sender, EventArgs e)
        {
            this.Text += " - " + m_objHost.RootComponent.Site.Name;
        }
    }
}
